package org.feiye.studyday21;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class MapTest {
	public static void main(String[] args) {
		Map<String, Student> map = new HashMap<String, Student>();
		map.put("Jack", new Student("李明", "男"));
		Set<String> keySet = map.keySet();
		for (String key : keySet) {
			Student value = map.get(key);
			System.out.println(key + value);
		}

	}
}
